<template>
    <h1>主页面</h1>
    <div>
    <nav>
        <router-link to="/main">main页面</router-link>
      <hr>
        <router-view></router-view>
    </nav>
    </div>
</template>

<script>
import Main from "@/views/Main.vue";

export default {
    name: "App",
      components:   {
        Main,
    },
};
</script>

<style scoped>

</style>
